﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microhard.WST.BI.Buz.Models
{
    public class ContractRegModel
    {
        #region Model
        private Guid _regid;
        private Guid _customerid;
        private Guid _contractid;
        private string _regname;
        private bool _sex;
        private int? _age;
        private string _identitycode;
        private string _cellphone;
        private string _phone;
        private string _fax;
        private string _mail;
        private string _pocurer;
        private string _pocurercellphone;
        private string _address;
        private DateTime? _dealbegindate;
        private string _creatorid;
        private string _creatorname;
        private DateTime? _creationdate;
        private int? _status;
        /// <summary>
        /// 
        /// </summary>
        public Guid RegID
        {
            set { _regid = value; }
            get { return _regid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid CustomerID
        {
            set { _customerid = value; }
            get { return _customerid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid ContractID
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RegName
        {
            set { _regname = value; }
            get { return _regname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool Sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Age
        {
            set { _age = value; }
            get { return _age; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string IdentityCode
        {
            set { _identitycode = value; }
            get { return _identitycode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Cellphone
        {
            set { _cellphone = value; }
            get { return _cellphone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Fax
        {
            set { _fax = value; }
            get { return _fax; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Mail
        {
            set { _mail = value; }
            get { return _mail; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Pocurer
        {
            set { _pocurer = value; }
            get { return _pocurer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PocurerCellphone
        {
            set { _pocurercellphone = value; }
            get { return _pocurercellphone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? DealBeginDate
        {
            set { _dealbegindate = value; }
            get { return _dealbegindate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreatorID
        {
            set { _creatorid = value; }
            get { return _creatorid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreatorName
        {
            set { _creatorname = value; }
            get { return _creatorname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreationDate
        {
            set { _creationdate = value; }
            get { return _creationdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        #endregion Model

        public CustomerModel Customer { set; get; }
    }
}
